package net.comm.user.web.form;

import net.comm.page.PageCtr;

import org.apache.struts.action.*;
import org.apache.struts.upload.FormFile;


public class UsertempForm extends ActionForm {

	private static final long serialVersionUID = 1L;
	private static final String KEY_SPLIT = "#,##,#,#,#";


	private int  	UserID;			//	会员ID
	private String  Nick;			//	用户名
	private String  Name;			//	真实姓名
	private String  Introduction;	//	自我评价/个性签名
	private int  	PicID;			//	个人照片ID
	private String  Sex;			//	性别
	private String  Work;			//	目前职业
	private String  WorkSet;		//	职业隐私保护
	private String  Skill;			//	特长
	private String  SkillSet;		//	特长隐私保护
	private String  Birthday;		//	出生日期
	private String  BirthdaySet;	//	出生日期隐私保护
	private String  Star;			//	星座
	private String  Chzodiac;		//	生肖
	private int  Nationality;		//	国籍
	private int  Pepole;			//	民族
	private int  Polity;			//	政治面貌
	private String  JoinWorkTime;	//	参加工作时间
	private int  Home_location;		//	户口省份
	private int  Home_sublocation;	//	户口城市
	private int  Home_area;			//	户口区县
	private String  Home_town;		//	户口镇（街道）
	private String  Home_Set;		//	户口所在地隐私保护
	private String  Certtype;		//	证件类型
	private String  Certno;			//	证件号码
	private String  CertSet;		//	证件隐私保护
	private String  Marriage;		//	婚姻状况
	private String  IsArmy;			//	是否服役
	private int  	Army;			//	服役
	private String  ArmySet;		//	服役隐私保护
	private int  	Education;		//	学历
	private String  HighSchool;		//	毕业中学
	private String  HsFinshDate;	//	中学毕业时间
	private String  College;		//	毕业大学
	private String  ColFinshDate;	//	大学毕业时间
	private String  SchoolSet;		//	中学隐私保护
	private String  SchoolSet2;		//	大学隐私保护
	private String  Interest;		//	爱好关注
	private String  InterestSet;	//	爱好隐私保护
	private String  Mtime;			//	最后修改日期
		
	private int  	Work_location;	//	所在省份
	private int  	Work_sublocation;	//	所在城市
	private int  	Work_area;			//	所在区县
	private int  	VillageID;			//	小区
	private String  MapXY;				//GOOGLE地图坐标
	private String  Building;			//	栋
	private String  HouseNo;			//	号
	private String  FangchanNo;			//	房产证号码
	private String  FcNoSet;			//	房产证号码隐私保护
	private int  	FcPicID;			//	房产证照片ID
	private String  FcPicIDSts;			//	房产证照片状态
	private String  InTime;			//	入住时间
	private String  InTimeSet;		//	入住时间隐私保护
	private String  FamSts;			//	家庭状况
	private String  FamStsSet;		//	家庭状况隐私保护
	private String  LiveSts;		//	居住状况
	private String  LiveStsSet;		//	居住状况隐私保护
		
	private String  Mobile;		//手机
	private String  Tel;		//商务电话
	private String  Famtel;		//家庭电话
	private String  Fax;		//传真号码
	private String  QQ;			//
	private String  Msn;		//
	private String  Email;		//Email
	private String  Addr;		//通讯地址
	private String  Postcode;	//邮编
	private String  Offwebsite;	//官方网址
	private String  Perwebsite;	//个人网址
	private String  Blog;		//个人博客
	
	
	private FormFile  FcPicIDPath;	//	房产照片ID
	
	private FormFile  PicIDPath;	//	个人照片ID
	

	public UsertempForm() {
		super();
		// TODO Auto-generated constructor stub
		
		UserID = 0;			//	会员ID
		Nick = "";			//	用户名
		Name = "";			//	真实姓名
		Introduction = "";	//	自我评价/个性签名
		PicID = 0;			//	个人照片ID
		Sex = "";			//	性别
		Work = "";			//	目前职业
		WorkSet = "";		//	职业隐私保护
		Skill = "";			//	特长
		SkillSet = "";		//	特长隐私保护
		Birthday = "";		//	出生日期
		BirthdaySet = "";	//	出生日期隐私保护
		Star = "";			//	星座
		Chzodiac = "";		//	生肖
		Nationality = 0;		//	国籍
		Pepole = 0;			//	民族
		Polity = 0;			//	政治面貌
		JoinWorkTime = "";	//	参加工作时间
		Home_location = 0;		//	户口省份
		Home_sublocation = 0;	//	户口城市
		Home_area = 0;			//	户口区县
		Home_town = "";		//	户口镇（街道）
		Home_Set = "";		//	户口所在地隐私保护
		Certtype = "";		//	证件类型
		Certno = "";			//	证件号码
		CertSet = "";		//	证件隐私保护
		Marriage = "";		//	婚姻状况
		IsArmy = "";			//	是否服役
		Army = 0;			//	服役
		ArmySet = "";		//	服役隐私保护
		Education = 0;		//	学历
		HighSchool = "";		//	毕业中学
		HsFinshDate = "";	//	中学毕业时间
		College = "";		//	毕业大学
		ColFinshDate = "";	//	大学毕业时间
		SchoolSet = "";		//	学校隐私保护
		Interest = "";		//	爱好关注
		InterestSet = "";	//	爱好隐私保护
		Mtime = "";			//	最后修改日期
			
		Work_location = 0;	//	所在省份
		Work_sublocation = 0;	//	所在城市
		Work_area = 0;			//	所在区县
		VillageID = 0;			//	小区
		MapXY = "";
		Building = "";			//	栋
		HouseNo = "";			//	号
		FangchanNo = "";			//	房产证号码
		FcNoSet = "";			//	房产证号码隐私保护
		FcPicID = 0;			//	房产证照片ID
		FcPicIDSts = "";			//	房产证照片状态
		InTime = "";			//	入住时间
		InTimeSet = "";		//	入住时间隐私保护
		FamSts = "";			//	家庭状况
		FamStsSet = "";		//	家庭状况隐私保护
		LiveSts = "";		//	居住状况
		LiveStsSet = "";		//	居住状况隐私保护
			
		Mobile = "";		//手机
		Tel = "";		//商务电话
		Famtel = "";		//家庭电话
		Fax = "";		//传真号码
		QQ = "";			//
		Msn = "";		//
		Email = "";		//Email
		Addr = "";		//通讯地址
		Postcode = "";	//邮编
		Offwebsite = "";	//官方网址
		Perwebsite = "";	//个人网址
		Blog = "";		//个人博客	
		
		PicIDPath = null;
		FcPicIDPath = null;
		
	}

	private String action = "";
	
	/**
	 * 查询当前页主键值串
	 */
	private String key = "";

	/**
	 * 查询上上页主键值串
	 */
	private String lastKey = "";
	

	/**
	 * 分页控制对象
	 */
	private PageCtr page;
	



	public PageCtr getPage() {
		return page;
	}

	public void setPage(PageCtr page) {
		this.page = page;
	}
	
	/**
	 * @param key the key to set
	 */
	public void setKey(String key) {
		this.key = key;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String[] array) {
		if(key != null && key.trim().length() > 0) {
			key = "";
		}
		
		StringBuffer keyBuff = new StringBuffer();
		for (int i = 0; i < array.length; i++) 
		{
			/**
			 * 防止空字符串引起的split方法异常
			 */
			if(array[i] == null || array[i].length() == 0) {
				keyBuff.append(" ");
			} else {
				keyBuff.append(array[i]);
			}
			
			keyBuff.append(KEY_SPLIT);
		}
		
		key = keyBuff.toString();		
	}
	
	/**
	 * 获取lastKey值
	 * @return
	 */
	public String[] lastKey()
	{
		if(lastKey == null || lastKey.trim().length() == 0) {
			return null;
		}
		
		return lastKey.split(KEY_SPLIT);
	}
	
	public String getLastKey() {
		return lastKey;
	}

	public void setLastKey(String lastKey) {
		this.lastKey = lastKey;
	}	

	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}

	public static String getKEY_SPLIT() {
		return KEY_SPLIT;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}



	public int getUserID() {
		return UserID;
	}

	public void setUserID(int userID) {
		UserID = userID;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getIntroduction() {
		return Introduction;
	}

	public void setIntroduction(String introduction) {
		Introduction = introduction;
	}


	public String getSex() {
		return Sex;
	}

	public void setSex(String sex) {
		Sex = sex;
	}

	public String getBirthday() {
		return Birthday;
	}

	public void setBirthday(String birthday) {
		Birthday = birthday;
	}


	public int getNationality() {
		return Nationality;
	}

	public void setNationality(int nationality) {
		Nationality = nationality;
	}

	public String getNick() {
		return Nick;
	}

	public int getPicID() {
		return PicID;
	}



	public String getSkill() {
		return Skill;
	}

	public String getStar() {
		return Star;
	}

	public String getChzodiac() {
		return Chzodiac;
	}

	public int getPepole() {
		return Pepole;
	}

	public int getPolity() {
		return Polity;
	}

	public String getJoinWorkTime() {
		return JoinWorkTime;
	}

	public int getHome_location() {
		return Home_location;
	}

	public int getHome_sublocation() {
		return Home_sublocation;
	}

	public int getHome_area() {
		return Home_area;
	}

	public String getHome_town() {
		return Home_town;
	}

	public String getCerttype() {
		return Certtype;
	}

	public String getCertno() {
		return Certno;
	}

	public String getMarriage() {
		return Marriage;
	}



	public String getInterest() {
		return Interest;
	}

	public String getMtime() {
		return Mtime;
	}

	public void setNick(String nick) {
		Nick = nick;
	}

	public void setPicID(int picID) {
		PicID = picID;
	}



	public String getWork() {
		return Work;
	}

	public void setWork(String work) {
		Work = work;
	}

	public void setSkill(String skill) {
		Skill = skill;
	}

	public void setStar(String star) {
		Star = star;
	}

	public void setChzodiac(String chzodiac) {
		Chzodiac = chzodiac;
	}

	public void setPepole(int pepole) {
		Pepole = pepole;
	}

	public void setPolity(int polity) {
		Polity = polity;
	}

	public void setJoinWorkTime(String joinWorkTime) {
		JoinWorkTime = joinWorkTime;
	}

	public void setHome_location(int home_location) {
		Home_location = home_location;
	}

	public void setHome_sublocation(int home_sublocation) {
		Home_sublocation = home_sublocation;
	}

	public void setHome_area(int home_area) {
		Home_area = home_area;
	}

	public void setHome_town(String home_town) {
		Home_town = home_town;
	}

	public void setCerttype(String certtype) {
		Certtype = certtype;
	}

	public void setCertno(String certno) {
		Certno = certno;
	}

	public void setMarriage(String marriage) {
		Marriage = marriage;
	}


	public void setInterest(String interest) {
		Interest = interest;
	}

	public void setMtime(String mtime) {
		Mtime = mtime;
	}

	public String getWorkSet() {
		return WorkSet;
	}

	public String getSkillSet() {
		return SkillSet;
	}

	public String getBirthdaySet() {
		return BirthdaySet;
	}

	public String getHome_Set() {
		return Home_Set;
	}

	public String getCertSet() {
		return CertSet;
	}

	public String getArmySet() {
		return ArmySet;
	}

	public int getEducation() {
		return Education;
	}


	public String getSchoolSet() {
		return SchoolSet;
	}

	public String getInterestSet() {
		return InterestSet;
	}

	public void setWorkSet(String workSet) {
		WorkSet = workSet;
	}

	public void setSkillSet(String skillSet) {
		SkillSet = skillSet;
	}

	public void setBirthdaySet(String birthdaySet) {
		BirthdaySet = birthdaySet;
	}

	public void setHome_Set(String home_Set) {
		Home_Set = home_Set;
	}

	public void setCertSet(String certSet) {
		CertSet = certSet;
	}

	public int getArmy() {
		return Army;
	}

	public void setArmy(int army) {
		Army = army;
	}

	public void setArmySet(String armySet) {
		ArmySet = armySet;
	}

	public void setEducation(int education) {
		Education = education;
	}

	public void setSchoolSet(String schoolSet) {
		SchoolSet = schoolSet;
	}

	public void setInterestSet(String interestSet) {
		InterestSet = interestSet;
	}

	public FormFile getPicIDPath() {
		return PicIDPath;
	}

	public void setPicIDPath(FormFile picIDPath) {
		PicIDPath = picIDPath;
	}

	public String getIsArmy() {
		return IsArmy;
	}

	public String getHighSchool() {
		return HighSchool;
	}

	public String getHsFinshDate() {
		return HsFinshDate;
	}

	public String getCollege() {
		return College;
	}

	public String getColFinshDate() {
		return ColFinshDate;
	}

	public void setIsArmy(String isArmy) {
		IsArmy = isArmy;
	}

	public void setHighSchool(String highSchool) {
		HighSchool = highSchool;
	}

	public void setHsFinshDate(String hsFinshDate) {
		HsFinshDate = hsFinshDate;
	}

	public void setCollege(String college) {
		College = college;
	}

	public void setColFinshDate(String colFinshDate) {
		ColFinshDate = colFinshDate;
	}

	public int getWork_location() {
		return Work_location;
	}

	public int getWork_sublocation() {
		return Work_sublocation;
	}

	public int getWork_area() {
		return Work_area;
	}

	public int getVillageID() {
		return VillageID;
	}

	public String getBuilding() {
		return Building;
	}

	public String getHouseNo() {
		return HouseNo;
	}

	public String getFangchanNo() {
		return FangchanNo;
	}

	public String getFcNoSet() {
		return FcNoSet;
	}

	public int getFcPicID() {
		return FcPicID;
	}

	public String getFcPicIDSts() {
		return FcPicIDSts;
	}

	public String getInTime() {
		return InTime;
	}

	public String getInTimeSet() {
		return InTimeSet;
	}

	public String getFamSts() {
		return FamSts;
	}

	public String getFamStsSet() {
		return FamStsSet;
	}

	public String getLiveSts() {
		return LiveSts;
	}

	public String getLiveStsSet() {
		return LiveStsSet;
	}

	public String getMobile() {
		return Mobile;
	}

	public String getTel() {
		return Tel;
	}

	public String getFamtel() {
		return Famtel;
	}

	public String getFax() {
		return Fax;
	}

	public String getQQ() {
		return QQ;
	}

	public String getMsn() {
		return Msn;
	}

	public String getEmail() {
		return Email;
	}

	public String getAddr() {
		return Addr;
	}

	public String getPostcode() {
		return Postcode;
	}

	public String getOffwebsite() {
		return Offwebsite;
	}

	public String getPerwebsite() {
		return Perwebsite;
	}

	public String getBlog() {
		return Blog;
	}

	public FormFile getFcPicIDPath() {
		return FcPicIDPath;
	}

	public void setWork_location(int work_location) {
		Work_location = work_location;
	}

	public void setWork_sublocation(int work_sublocation) {
		Work_sublocation = work_sublocation;
	}

	public void setWork_area(int work_area) {
		Work_area = work_area;
	}

	public void setVillageID(int villageID) {
		VillageID = villageID;
	}

	public void setBuilding(String building) {
		Building = building;
	}

	public void setHouseNo(String houseNo) {
		HouseNo = houseNo;
	}

	public void setFangchanNo(String fangchanNo) {
		FangchanNo = fangchanNo;
	}

	public void setFcNoSet(String fcNoSet) {
		FcNoSet = fcNoSet;
	}

	public void setFcPicID(int fcPicID) {
		FcPicID = fcPicID;
	}

	public void setFcPicIDSts(String fcPicIDSts) {
		FcPicIDSts = fcPicIDSts;
	}

	public void setInTime(String inTime) {
		InTime = inTime;
	}

	public void setInTimeSet(String inTimeSet) {
		InTimeSet = inTimeSet;
	}

	public void setFamSts(String famSts) {
		FamSts = famSts;
	}

	public void setFamStsSet(String famStsSet) {
		FamStsSet = famStsSet;
	}

	public void setLiveSts(String liveSts) {
		LiveSts = liveSts;
	}

	public void setLiveStsSet(String liveStsSet) {
		LiveStsSet = liveStsSet;
	}

	public void setMobile(String mobile) {
		Mobile = mobile;
	}

	public void setTel(String tel) {
		Tel = tel;
	}

	public void setFamtel(String famtel) {
		Famtel = famtel;
	}

	public void setFax(String fax) {
		Fax = fax;
	}

	public void setQQ(String qq) {
		QQ = qq;
	}

	public void setMsn(String msn) {
		Msn = msn;
	}

	public void setEmail(String email) {
		Email = email;
	}

	public void setAddr(String addr) {
		Addr = addr;
	}

	public void setPostcode(String postcode) {
		Postcode = postcode;
	}

	public void setOffwebsite(String offwebsite) {
		Offwebsite = offwebsite;
	}

	public void setPerwebsite(String perwebsite) {
		Perwebsite = perwebsite;
	}

	public void setBlog(String blog) {
		Blog = blog;
	}

	public void setFcPicIDPath(FormFile fcPicIDPath) {
		FcPicIDPath = fcPicIDPath;
	}

	public String getMapXY() {
		return MapXY;
	}

	public void setMapXY(String mapXY) {
		MapXY = mapXY;
	}

	public String getSchoolSet2() {
		return SchoolSet2;
	}

	public void setSchoolSet2(String schoolSet2) {
		SchoolSet2 = schoolSet2;
	}





	
}